package com.scse.bms.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.sql.Timestamp;

/**
 * @Title: EBookVO
 * @Author: 吴赠禹
 * @Date: 2021/1/11 15:32
 * @Version: 1.0
 * @Description: TODO
 */

@Getter
@Setter
@ToString
@Alias("eBookDO")
public class EBookDO {

    /**
     * 分别为标题、上传日期、路径、大小
     */
    private String title;
    private String src;
    private Long size;
    private Timestamp uploadTime;

    public EBookDO() {}

    public EBookDO(String title, String src, Long size) {
        this.title = title;
        this.src = src;
        this.size = size;
    }
}
